package com.tarena.lbs.activity.service;


import com.tarena.lbs.activity.pojo.param.ActivityAddParam;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;

import java.util.List;
import java.util.Map;

public interface ActivityService {

    void save(ActivityAddParam activityAddParam) throws BusinessException;

    PageResult<ActivityVO> pageList(ActivityAddParam param);

    void updateActivityStatus(ActivityAddParam activityAddParam);

    ActivityVO detail(Integer id);

    void deleteActivity(ActivityAddParam activityAddParam) throws BusinessException;

    Map<String,Integer> getArticleStatusMap();
}
